/**
 * 模块层级
 */
import {Enum} from '@truenewx/tnxcore';

export default class ModuleLayer extends Enum {

    static name = 'ModuleLayer';

    static API = new ModuleLayer('接口', ['microservice']);
    static MODEL = new ModuleLayer('模型', ['single', 'microservice']);
    static REPO = new ModuleLayer('数据访问', ['single', 'microservice']);
    static SERVICE = new ModuleLayer('服务', ['single', 'microservice']);
    static WEB = new ModuleLayer('Web', ['single', 'microservice']);

}
